package com.ruoyi.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.wechat.domain.MsgReplyRule;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 26233
 */
@Mapper
@CacheNamespace(flushInterval = 300000L)
public interface MsgReplyRuleMapper extends BaseMapper<MsgReplyRule> {
    /**
     * 自动回复关键字
     *
     * @param msgVoPage
     * @param matchValue
     * @param appid
     * @return
     */
    List<MsgReplyRule> selectReplyRuleList(Page<MsgReplyRule> msgVoPage, @Param("appid") String appid, @Param("matchValue") String matchValue);
}
